/* 全局侧边栏样式 - 固定左侧菜单 */
.sidebar {
  position: fixed !important;
  left: 0;
  top: 0;
  min-height: 100vh !important;
  height: auto !important;
  z-index: 1000;
  background: #2c3e50 !important;
  color: #ecf0f1 !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

/* 为固定的侧边栏调整主内容区域 */
.main-content {
  margin-left: 220px !important;
  width: calc(100% - 220px) !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .sidebar {
    width: 70px !important;
    min-width: 70px !important;
  }

  .main-content {
    margin-left: 70px !important;
    width: calc(100% - 70px) !important;
  }
}

/* 确保容器高度正确 */
.el-container {
  min-height: 100vh !important;
}
